from django.urls import path,re_path

from . import views

urlpatterns = [

    re_path(r'^usernames/(?P<username>[a-zA-Z0-9_-]{5,20})/count/$',views.UsernameCountView.as_view()),
    re_path(r'^mobiles/(?P<mobile>1[3-9]\d{9})/count/$',views.PhonenumCountView.as_view()),
    path('register/',views.UserRegisterView.as_view()),
    path('login/',views.LoginView.as_view()),
    path('logout/',views.LogoutView.as_view()),
    path('info/',views.UserinfoView.as_view()),
    path('emails/',views.EmailsaveView.as_view()),
]


